package com.dfrz.ch09;

/**
 * 作者：wangmaokang
 * 日期: 2021/4/19 11:10
 * 描述:
 */
public class Clerk {
    private String  name;
    private int age;
    private float salary;

    @Override
    public String toString() {
        return "Clerk{" +
                "name='" + name + '\'' +
                ", age=" + age +
                ", salary=" + salary +
                '}';
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public float getSalary() {
        return salary;
    }

    public void setSalary(float salary) {
        this.salary = salary;
    }
}
